package com.gdip.service;

import com.gdip.common.dtos.ResponseResult;
import com.gdip.po.CommentPo;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * ClassName: CommentService
 * Package: com.gdip.service
 *
 * @Author 南浔
 * @Create 2024/4/11 23:13
 * @Version 1.0
 */
public interface CommentService {
    ResponseResult insert_comment(CommentPo commentPo);

    ResponseResult getComment(int userId, int problemId);

    ResponseResult getCommentAll();

    ResponseResult getCommentByClass(int classId);
    ResponseResult commentAll();
    ResponseResult commentYear();
    ResponseResult comment_classRank();
    ResponseResult comment_class();
}
